package com.muyu.day3zy.domain;

import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @ClassName AttributeInfo
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/24 9:32
 */
public class AttributeInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 商品属性id */
    @Excel(name = "商品属性id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /** 商品类型id */
    @Excel(name = "商品类型id")
    private Integer typeId;

    /** 商品属性名称 */
    @Excel(name = "商品属性名称")
    private String attributeName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getAttributeName() {
        return attributeName;
    }

    public void setAttributeName(String attributeName) {
        this.attributeName = attributeName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("typeId", getTypeId())
                .append("attributeName", getAttributeName())
                .toString();
    }
}
